#ifndef EYERWANDARTIST_EWAUIGRAPH_HPP
#define EYERWANDARTIST_EWAUIGRAPH_HPP

#include "EyerMath/EyerMath.hpp"
#include "EWAUIGraphType.hpp"

namespace Eyer
{
    class EWAUIGraph
    {
    public:
        EWAUIGraph();
        virtual ~EWAUIGraph();

        virtual EWAUIGraphType GetType() = 0;

        /**
         * @param xy 子 Widget 位于父 Widget 的位置
         * @param parentW 父 Widget 的长宽
         * @return
         */
        virtual int Transform(const Vec2I & xy, const Vec2I & parentWH) = 0;
        virtual bool IsValid() = 0;
    private:
    };
}

#endif //EYERWANDARTIST_EWAUIGRAPH_HPP
